package com.openflag.bwicservice.repository;

import com.openflag.bwicservice.domain.ServiceCharge;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface ServiceChargeRepository extends JpaRepository<ServiceCharge,Long> {

    @Query(value = "select charge from service_charge where id = 1",nativeQuery = true)
    Double getServiceCharge();

}
